﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    /// <summary>
    /// 订单表
    /// </summary>
    [Table("DingDan")]
    public class Model_DingDan:Model_Base
    {
        [Column("ID")]
        [Key]
        [Required]
        public string ID { get; set; }
        /// <summary>
        /// 订单名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 总金额 订单总金额
        /// </summary>
        public decimal SubPrice { get; set; }
        /// <summary>
        /// 店铺编号
        /// </summary>
        public string DianPuID { get; set; }
        /// <summary>
        /// 订单送往地址
        /// </summary>
        public string AddressID { get; set; }
        /// <summary>
        /// 顾客编号
        /// </summary>
        public string CustomerID { get; set; }
        

        /// <summary>
        /// 订单当前状态
        /// </summary>
        public string DingDanStatusID { get; set; }
       

    }
}
